package org.linlinjava.litemall.db.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("t_category")
public class Category extends BaseModel{

    @TableField("name")
    private String name;

    @TableField("keywords")
    private String keywords;

    @TableField("`desc`")
    private String desc;

    @TableField("pid")
    private Long pid;

    @TableField("icon_url")
    private String iconUrl;

    @TableField("pic_url")
    private String picUrl;

    @TableField("level")
    private String level;

    @TableField("sort_order")
    private Byte sortOrder;

}